//hola moni
//---------------------------------------------------------------------------

#ifndef ColorH
#define ColorH

#include <gl\gl.h>
#include <gl\glu.h>
//---------------------------------------------------------------------------
class Color{

  private:
           GLfloat r,
                   g,
                   b,
                   alpha;

  public:
           Color(){}

           Color(GLfloat red,GLfloat green,GLfloat blue,GLfloat alpha_){
                r = red;
                g = green;
                b = blue;
                alpha = alpha_;
           }

           void putColor4f(){
              glColor4f(r,g,b,alpha);
           };

           void putColor3f(){
               glColor3f(r,g,b);
           };

           void setR(GLfloat red){r = red;};
           GLfloat getR(){return r;};
           void setG(GLfloat green){g = green;};
           GLfloat getG(){return g;};
           void setB(GLfloat blue){b = blue;};
           GLfloat getB(){return b;};


           void set(GLfloat red,GLfloat green,GLfloat blue){
             r = red;
             g = green;
             b = blue;
           };
           void set(GLfloat red,GLfloat green,GLfloat blue, GLfloat alpha_){
             r = red;
             g = green;
             b = blue;
             alpha = alpha_;
           };

  


};


#endif
